DS.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / SaveAsWebp Method / SaveAsWebp(Stream,Nullable<Rectangle>,Boolean,Int32,Int32) Method
The output stream.
Clipping rectangle of the image to be saved.
Either lossless (true) or lossy (false) webp format.
The compression quality. Between 0 and 100.
The encoding method to use. Its a quality/speed trade-off (0=fast, 6=slower-better).

In This Topic
SaveAsWebp(Stream,Nullable<Rectangle>,Boolean,Int32,Int32) Method
In This Topic
Saves the image into a Stream in WEBP format.
Syntax
'Declaration
 
Public Overloads Sub SaveAsWebp( _
   ByVal stream As System.IO.Stream, _
   Optional ByVal clipRect As System.Nullable(Of Rectangle), _
   Optional ByVal lossless As System.Boolean, _
   Optional ByVal quality As System.Integer, _
   Optional ByVal method As System.Integer _
) 
 

Parameters

stream
The output stream.
clipRect
Clipping rectangle of the image to be saved.
lossless
Either lossless (true) or lossy (false) webp format.
quality
The compression quality. Between 0 and 100.
method
The encoding method to use. Its a quality/speed trade-off (0=fast, 6=slower-better).
See Also